/**
 * Created by CK on 2016/11/8.
 */
$(document).ready(function(){
    var list    = $('#List');
    var appCode = xhTool.getQuery('iAppCode');
    var classId = xhTool.getQuery('sClassId');
    var taskId  = xhTool.getQuery('sTaskId');
    var schoolId= xhTool.getQuery('iSchoolId');
    var coId    = xhTool.getQuery('iCoId');
    var queryParams = {
        iAppCode: appCode,
        sClassId: classId,
        sTaskId: taskId
    };
    if(coId){
        queryParams.iSchoolId = schoolId;
        queryParams.iCoId = coId;
    }
    list.initDataGrid(baseUrl + 'Stats/getSingleTaskInfo', {queryParams: queryParams});
});